what is vw and vh in css

73

If the viewport is 1200px wide and 1000px high, 
the value of 10vw will be 120px and the value of 10vh will be 100px. 
Since the width of the viewport is greater than its height, 
the value of 10vmax will be 120px and the value of 10vmin will be 100px.

Comments

Submit
0 Comments